setCaptureDevice

abstract fun setCaptureDevice(position: Int, videoResolution: Camera.Size?, processListener: ProcessListener?)

Sets device capture and video resolution to specified position and resolution of the related call

Since

3.0.0

Parameters

position

that intended to setting

videoResolution

that intended to resolution

processListener

that returns setting device capture result


abstract fun setCaptureDevice(mediaProjectionPermissionResultData: Intent?, processListener: ProcessListener?)

Sets device capture to image source for the related call

Since

3.1.4

Parameters

mediaProjectionPermissionResultData
processListener

that returns setting device capture result